package com.example.add8_17.not;



import com.example.add8_17.bean.HomeBean;
import com.example.add8_17.bean.NaviBean;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

public interface ApiService {
    String url="https://www.wanandroid.com/";
    @GET("article/list/{page}/json")
    Observable<HomeBean> gethomedata(@Path("page")int page,@Query("cid") int cid);
    @GET("navi/json")
    Observable<NaviBean> getnavidata();

}
